package com.itcoon.transform4j.demo.web.vo;

import com.itcoon.transform4j.demo.domain.Teacher;
import com.itcoon.transform.base.annotation.AssembleModel;
import com.itcoon.transform.base.annotation.AssembleModelProperty;

import java.time.LocalDateTime;

@AssembleModel(from = Teacher.class)
public interface TeacherVIO {

    @AssembleModelProperty
    Long getId();

    @AssembleModelProperty
    String getName();

    LocalDateTime getBirthday();

    @AssembleModelProperty
    StudentVIO getStudent();
}
